package com.sdrongyou.tms.dto;

import cn.zhxu.bs.bean.DbIgnore;
import cn.zhxu.bs.bean.SearchBean;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@SearchBean(
        tables = "tms_driver"
)
public class DriverVO {

    private Integer id;

    //姓名
    private String name;

    //年龄
    private String age;

    //性别
    private int sex;

    //手机号
    private String phone;

    //身份证
    private String idcard;

    //出生日期
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date birth;

    //民族
    private String nationality;

    //文化程度
    private int education;

    //籍贯
    private String nativePlace;

    //居住地址
    private String address;

    //婚姻状况
    private int marriage;

    //准驾车型
    private int authDrivingModel;

    //人员性质
    private String personnelNature;

    //驾龄
    private String drivingExperience;

    //驾驶证类型
    private int driverLicenseType;

    //驾驶证照片
    private String driverLicensePhoto;

    //身份证正面照片
    private String idcardFrontPhoto;

    //身份证反面照片
    private String idcardReversePhoto;

    //承运商
    private String carrier;

    //承运商姓名
    @DbIgnore
    private String carrierName;

}
